package org.opens.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 所属数据库: shiyan
 * 数据库表备注: 
 * 忽略的列: ignore_column
 * @author zhangyuming
 * @data 2023-03-08
 */
public class GenCode1Entity implements Serializable {

    /**
     * 自动生成的序列化id
     */
    private static final long serialVersionUID = -2281205511077923700L;

    /**
     * - 数据库字段备注: 主键
     * - 对应数据库类型: int
     */
    private Integer id;

    /**
     * - 数据库字段备注: 姓名
     * - 对应数据库类型: varchar
     */
    private String name;

    /**
     * - 数据库字段备注: 版本
     * - 对应数据库类型: int
     */
    private Integer version;

    /**
     * - 数据库字段备注: 创建时间
     * - 对应数据库类型: datetime
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /**
     * - 数据库字段备注: 修改时间
     * - 对应数据库类型: datetime
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

    /**
     * - 数据库字段备注: blob类型字段生成代码测试
     * - 对应数据库类型: blob
     */
    private Byte[] blobFiled;

    /**
     * - 数据库字段备注: tinyint类型字段生成代码测试
     * - 对应数据库类型: tinyint
     */
    private Byte tinyintFiled;

    /**
     * - 数据库字段备注: bigint类型字段生成代码测试
     * - 对应数据库类型: bigint
     */
    private Long bigintFiled;

    /**
     * - 数据库字段备注: double类型字段生成代码测试
     * - 对应数据库类型: double
     */
    private Double doubleFiled;

    /**
     * - 数据库字段备注: decimal类型字段生成代码测试
     * - 对应数据库类型: decimal
     */
    private BigDecimal decimalFiled;

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getVersion() {
        return this.version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Byte[] getBlobFiled() {
        return this.blobFiled;
    }

    public void setBlobFiled(Byte[] blobFiled) {
        this.blobFiled = blobFiled;
    }

    public Byte getTinyintFiled() {
        return this.tinyintFiled;
    }

    public void setTinyintFiled(Byte tinyintFiled) {
        this.tinyintFiled = tinyintFiled;
    }

    public Long getBigintFiled() {
        return this.bigintFiled;
    }

    public void setBigintFiled(Long bigintFiled) {
        this.bigintFiled = bigintFiled;
    }

    public Double getDoubleFiled() {
        return this.doubleFiled;
    }

    public void setDoubleFiled(Double doubleFiled) {
        this.doubleFiled = doubleFiled;
    }

    public BigDecimal getDecimalFiled() {
        return this.decimalFiled;
    }

    public void setDecimalFiled(BigDecimal decimalFiled) {
        this.decimalFiled = decimalFiled;
    }

}